<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>前后端分离开发平台</title>
    <link rel="icon" href="images/favicon.ico"/>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="css/common.css">
</head>

<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">前后端分离开发平台</div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item">
                <a ew-event="refresh" title="刷新"><i class="layui-icon layui-icon-refresh-3"></i></a>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="images/head.png" class="layui-nav-img"><span>管理员</span>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">个人信息</a></dd>
                    <dd><a href="">修改密码</a></dd>
                    <hr>
                    <dd><a href="">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-set"></i> 系统管理</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-app"></i> 客户端管理
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-username"></i> 用户管理
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-user"></i> 角色管理
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-vercode"></i> 权限管理
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-console"></i> 系统监控</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-engine"></i> Druid监控
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-code-circle"></i> SpringBoot监控
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-list"></i> 接口文档</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="https://baidu.com" target="body">
                                &emsp;<i class="layui-icon layui-icon-auz"></i> token接口
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-app"></i> 客户端接口
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-username"></i> 用户接口
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-user"></i> 角色接口
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;">
                                &emsp;<i class="layui-icon layui-icon-vercode"></i> 权限接口
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <iframe name="body" class="admin-iframe" src="console.html" frameborder="0"></iframe>
    </div>
</div>

<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script>
    layui.use(['jquery', 'layer', 'element'], function () {
        var $ = layui.jquery;
        var layer = layui.layer;
        var element = layui.element;

        if (!getToken()) {
            location.replace('login.html');
        }

    });
</script>
</body>
</html>